/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelBeans;

import Banks.*;
import Classes.DatabaseService;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author xiph
 */
@ManagedBean
@RequestScoped
public class BanksModelBean extends Banks implements Serializable
{
	/** Creates a new instance of BanksModelBean */
	public BanksModelBean()
	{
		bank = new ArrayList<Bank>();
		bank = DatabaseService.fetchBanks().getBank();
	}
}